<%@ Page Language="C#" AutoEventWireup="true" CodeFile="RodadosGestion.aspx.cs" MasterPageFile="~/MasterPage.master" Inherits="RodadosGestion" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

<%@ Register Src="../UserControls/Fecha.ascx" TagName="Fecha" TagPrefix="uc1" %>

<asp:Content ID="Content1"  ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div style="text-align: center;">
        <asp:ScriptManager id="ScriptManager1" runat="server"></asp:ScriptManager>
        <table class="tablaForm" style="width: 550px" border="0">
            <tr>
                <td class="tdLogistica" colspan="4">
                    Gesti&oacute;n de Rodados</td>
            </tr>
            <tr>
                <td class="tdLiteral" colspan="4" style="text-align: center">
                    <asp:Label ID="lblAccion" runat="server" CssClass="lblAccion">Acci&oacute;n</asp:Label>&nbsp;</td>
            </tr>
            <tr>
                <td class="tdLiteral" style="width: 20%; text-align: right">
                    <asp:Label ID="lblNombre" runat="server" CssClass="label" Text="Patente:"></asp:Label></td>
                <td class="tdForm" style="width: 35%; text-align: left">
                    <asp:TextBox ID="txtPatente" runat="server" Columns="6" MaxLength="6" Width="60px"></asp:TextBox></td>
                <td class="tdLiteral" style="width: 16%; text-align: right">
                    <asp:Label ID="Label2" runat="server" CssClass="label" Text="Tipo:"></asp:Label></td>
                <td class="tdForm" style="width: 29%; text-align: left">
                    <asp:TextBox ID="txtTipo" runat="server" CssClass="cuadrotxt100" MaxLength="50"></asp:TextBox></td>
            </tr>
            <tr>
                <td class="tdLiteral" style="width: 20%; text-align: right; height: 23px;">
                    <asp:Label ID="lblBanco1" runat="server" CssClass="label" Text="Marca:"></asp:Label></td>
                <td class="tdForm" style="width: 35%; text-align: left; height: 23px;">
                    <asp:TextBox ID="txtMarca" runat="server" CssClass="cuadrotxt100" MaxLength="50"></asp:TextBox></td>
                <td class="tdLiteral" style="width: 16%; text-align: right; height: 23px;">
                    <asp:Label ID="lblModelo" runat="server" CssClass="label" Text="Modelo:"></asp:Label></td>
                <td class="tdForm" style="width: 29%; text-align: left; height: 23px;">
                    <asp:TextBox ID="txtModelo" runat="server" CssClass="cuadrotxt100" MaxLength="50"></asp:TextBox></td>
            </tr>
            <tr>
                <td class="tdLiteral" style="width: 20%; text-align: right">
                    <asp:Label ID="lblBanco2" runat="server" CssClass="label" Text="A&ntilde;o Modelo:"></asp:Label></td>
                <td class="tdForm" style="width: 35%; text-align: left">
                    <asp:TextBox ID="txtAnio" runat="server" Columns="4" MaxLength="4" Width="50px">0</asp:TextBox></td>
                <td class="tdLiteral" style="width: 16%; text-align: right">
                    <asp:Label ID="Label3" runat="server" CssClass="label" Text="Tara:"></asp:Label></td>
                <td class="tdForm" style="width: 29%; text-align: left">
                    <asp:TextBox ID="txtTara" runat="server" Width="100px" Columns="20" MaxLength="20"></asp:TextBox></td>
            </tr>
            <tr>
                <td class="tdLiteral" style="width: 20%; text-align: right">
                    <asp:Label ID="lblTe1" runat="server" CssClass="label" Text="Chassis:"></asp:Label></td>
                <td class="tdForm" style="width: 35%; text-align: left">
                    <asp:TextBox ID="txtChassis" runat="server" CssClass="cuadrotxt100" MaxLength="50"></asp:TextBox></td>
                <td class="tdLiteral" style="width: 16%; text-align: right">
                    <asp:Label ID="lblTe2" runat="server" CssClass="label" Text="Motor:"></asp:Label></td>
                <td class="tdForm" style="width: 29%; text-align: left">
                    <asp:TextBox ID="txtMotor" runat="server" CssClass="cuadrotxt100" MaxLength="50"></asp:TextBox></td>
            </tr>
            <tr>
                <td class="tdLiteral" style="width: 20%; text-align: right;">
                    <asp:Label ID="lblFecIng" runat="server" CssClass="label" Text="Fecha Ingreso:"></asp:Label></td>
                <td class="tdForm" style="width: 35%; text-align: left;">
                    <uc1:Fecha ID="FechaIng" runat="server" />
                </td>
                <td class="tdLiteral" style="width: 16%; text-align: right;">
                    <asp:Label ID="Label1" runat="server" CssClass="label" Text="Fecha Baja:"></asp:Label></td>
                <td class="tdForm" style="width: 29%; text-align: left;">
                    <uc1:Fecha ID="FechaBaja" runat="server" />
                </td>
            </tr>
            <tr>
                <td class="tdLiteral" style="width: 20%; height: 14px; text-align: right">
                    <asp:Label ID="lblEstado" runat="server" CssClass="label" Text="Estado:"></asp:Label></td>
                <td class="tdForm" style="width: 35%; height: 14px; text-align: left">
                    <asp:DropDownList ID="cboEstado" runat="server" CssClass="combo" Width="100px" AutoPostBack="True" OnSelectedIndexChanged="cboEstado_SelectedIndexChanged">
                        <asp:ListItem Value="1">Activo</asp:ListItem>
                        <asp:ListItem Value="2">En Service</asp:ListItem>
                        <asp:ListItem Value="3">Parado</asp:ListItem>
                        <asp:ListItem Value="4">de Baja</asp:ListItem>
                    </asp:DropDownList></td>
                <td class="tdLiteral" style="width: 16%; text-align: right">
                    <asp:Label ID="lblFechaEstado" runat="server" CssClass="label" Text="Fecha Estado:"></asp:Label></td>
                <td class="tdForm" style="width: 29%; text-align: left">
                    <uc1:Fecha ID="FechaEstado" runat="server" />
                </td>
            </tr>
            <tr>
                <td class="tdLiteral" style="width: 20%; height: 14px; text-align: right">
                    <asp:Label ID="Label4" runat="server" CssClass="label" Text="Comp. Seguros:"></asp:Label></td>
                <td class="tdForm" style="width: 35%; height: 14px; text-align: left">
                    <asp:TextBox ID="txtSeguro" runat="server" CssClass="cuadrotxt100" MaxLength="50"></asp:TextBox></td>
                <td class="tdLiteral" style="width: 16%; text-align: right">
                    <asp:Label ID="Label5" runat="server" CssClass="label" Text="P&oacute;liza vence:"></asp:Label></td>
                <td class="tdForm" style="width: 29%; text-align: left">
                    <uc1:Fecha ID="FechaSeguro" runat="server" />
                </td>
            </tr>
            <tr>
                <td class="tdLiteral" style="width: 20%; height: 14px; text-align: right">
                    <asp:Label ID="Label6" runat="server" CssClass="label" Text="Km. Actual:"></asp:Label></td>
                <td class="tdForm" style="width: 35%; height: 14px; text-align: left">
                    <asp:TextBox ID="txtKmActual" runat="server" Columns="7" CssClass="cuadrotxt" MaxLength="7"
                        Width="100px">0</asp:TextBox></td>
                <td class="tdLiteral" colspan="2" style="text-align: center">
                    Datos Mantenimiento </td>
            </tr>
            <tr>
                <td class="tdLiteral" style="width: 20%; height: 14px; text-align: right">
                    <asp:Label ID="Label7" runat="server" CssClass="label" Text="Serv. General:"></asp:Label></td>
                <td class="tdForm" style="width: 35%; height: 14px; text-align: left">
                    <asp:TextBox ID="txtServiG" runat="server" Columns="7" CssClass="cuadrotxt" MaxLength="7"
                        Width="100px">0</asp:TextBox></td>
                <td class="tdLiteral" style="width: 16%; text-align: right">
                    <asp:Label ID="Label9" runat="server" CssClass="label" Text="Serv. Especial:"></asp:Label></td>
                <td class="tdForm" style="width: 29%; text-align: left">
                    <asp:TextBox ID="txtServiE" runat="server" Columns="7" CssClass="cuadrotxt" MaxLength="7"
                        Width="100px">0</asp:TextBox></td>
            </tr>
            <tr>
                <td class="tdLiteral" style="width: 20%; height: 14px; text-align: right">
                    <asp:Label ID="Label8" runat="server" CssClass="label" Text="Cubiertas 1:"></asp:Label></td>
                <td class="tdForm" style="width: 35%; height: 14px; text-align: left">
                    <asp:TextBox ID="txtCubiertas1" runat="server" Columns="7" CssClass="cuadrotxt" MaxLength="7"
                        Width="100px">0</asp:TextBox></td>
                <td class="tdLiteral" style="width: 16%; text-align: right">
                    <asp:Label ID="Label10" runat="server" CssClass="label" Text="Cubiertas 2:"></asp:Label></td>
                <td class="tdForm" style="width: 29%; text-align: left">
                    <asp:TextBox ID="txtCubiertas2" runat="server" Columns="7" CssClass="cuadrotxt" MaxLength="7"
                        Width="100px">0</asp:TextBox></td>
            </tr>
            <tr>
                <td class="tdLiteral" colspan="4" style="height: 14px; text-align: center">
                    Consumos de Combustible
                    <asp:Button ID="btnVerConsumo" runat="server" Text="Ver Consumo" OnClick="btnVerConsumo_Click" /></td>
            </tr>
            <tr>
                <td class="tdLiteral" style="width: 20%; height: 14px; text-align: right">
                    <asp:Label ID="Label11" runat="server" CssClass="label" Text="Fecha Carga:"></asp:Label></td>
                <td class="tdForm" style="width: 35%; height: 14px; text-align: left">
                    <uc1:Fecha ID="FechaCarga" runat="server" />
                </td>
                <td class="tdLiteral" style="width: 16%; text-align: right">
                    <asp:Label ID="Label12" runat="server" CssClass="label" Text="Litros:"></asp:Label></td>
                <td class="tdForm" style="width: 29%; text-align: left">
                    <asp:TextBox ID="txtLitros" runat="server" Columns="6" MaxLength="6" Width="65px">0</asp:TextBox>&nbsp;<asp:Button
                        ID="btnAgregar" runat="server" OnClick="btnAgregar_Click" Text="Agregar" /></td>
            </tr>
            <tr>
                <td class="tdLiteral" style="width: 20%; text-align: right">
                    <asp:Label ID="lblObs" runat="server" CssClass="label" Text="Comentarios:"></asp:Label></td>
                <td class="tdForm" colspan="3" style="text-align: left">
                    <asp:TextBox ID="txtObs" runat="server" CssClass="cuadrotxt100" Rows="3" TextMode="MultiLine" MaxLength="250"></asp:TextBox></td>
            </tr>
            <tr>
                <td class="tdBotones" colspan="4">
                    <asp:Button ID="btnGuardar" runat="server" CssClass="Boton" Text="Guardar" Width="75px" OnClick="btnGuardar_Click" />&nbsp;&nbsp;
                    <asp:Button ID="btnOtro" runat="server" CssClass="Boton" Text="Agrega Otro" Width="75px" OnClick="btnOtro_Click" />
                    &nbsp;&nbsp;
                    <asp:Button ID="btnCancelar" runat="server" CssClass="Boton" Text="Cancelar" Width="75px" OnClick="btnCancelar_Click" />&nbsp;
                    </td>
            </tr>
        </table>
    </div>
    <asp:Panel ID="pnlMensaje" runat="server" CssClass="tdBotones" Style="display: none"
        Width="233px">
        <div style="background-image: none; background-color: transparent; text-align: center">
            <asp:Label ID="lblMensaje" runat="server" Text=""></asp:Label>
            <br />
            <br />
            <asp:Button ID="btnMensaje" runat="server" Text="OK" Width="64px" />
        </div>
    </asp:Panel>
    <table id="tblMensaje" runat="server" border="0" style="width: 0px; height: 0px">
        <tr>
            <td style="width: 100px; height: 18px">
                <asp:Button ID="btnMalMensaje" runat="server" Height="0px" Text="Button" Width="0px" />
            </td>
        </tr>
    </table>
    <cc1:ModalPopupExtender ID="mpeMensaje" runat="server" BackgroundCssClass="modalBackground"
        DropShadow="true" OkControlID="btnMensaje" PopupControlID="pnlMensaje" TargetControlID="btnMalMensaje">
    </cc1:ModalPopupExtender>  
</asp:Content>
    
